package Job02.trapezoid;

import Job02.graph.Graph;

public class Trapezoid extends Graph {
    public String perimeter(){
        String perimeter = super.perimeter();
        return perimeter.concat("梯形是"+(5+8)*2);
    }
    public String area(){
        String area = super.area();
        return area.concat("梯形是"+(5+8)*3/2);
    }
}
